import {createApp} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementPlus from 'element-plus';
import 'element-plus/dist/index.css';
import '@/assets/styles/border.css';
import '@/assets/styles/reset.css';
import '@/router/permission.js';
// 国际化中文
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import SvgIcon from '@/icons';
import ECharts from 'vue-echarts';
import 'echarts';

const app = createApp(App);

SvgIcon(app);

app.use(ElementPlus, {
    locale: zhCn,
});
app.use(store);
app.use(router);
app.use(ElementPlus);
app.component('ECharts', ECharts);
app.mount('#app');
